A simple example: obtaining some informations about modes satisfying a test.

The test returns a range of all modes of the principal display that have a size greater than 640x480 and with a frequency greater than 60Hz. The modes should also be able to display in thousands of colors.

Then we get back the size of the modes, their frequency and the index. The index should be used to set the current mode (see the Change Resolution script)